<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>余额查询</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

 <script src="<%=basePath%>js/jquery-1.7.1.min.js"></script>
 	<link rel="stylesheet" type="text/css" href="<%=basePath%>css/index.css">
 <script language="JavaScript">  
            function startTime()     
            {     
                var today=new Date();//定义日期对象     
                var yyyy = today.getFullYear();//通过日期对象的getFullYear()方法返回年      
                var MM = today.getMonth()+1;//通过日期对象的getMonth()方法返回年      
                var dd = today.getDate();//通过日期对象的getDate()方法返回年       
                var hh=today.getHours();//通过日期对象的getHours方法返回小时     
                var mm=today.getMinutes();//通过日期对象的getMinutes方法返回分钟     
                var ss=today.getSeconds();//通过日期对象的getSeconds方法返回秒     
                // 如果分钟或小时的值小于10，则在其值前加0，比如如果时间是下午3点20分9秒的话，则显示15：20：09     
                MM=checkTime(MM);  
                dd=checkTime(dd);  
                mm=checkTime(mm);     
                ss=checkTime(ss);      
                document.getElementById('nowDateTimeSpan').innerHTML=yyyy+"-"+MM +"-"+ dd +" " + hh+":"+mm+":"+ss;
                setTimeout('startTime()',1000);//每一秒中重新加载startTime()方法   
            }     
              
            function checkTime(i)     
            {     
                if (i<10){  
                    i="0" + i;  
                }     
                  return i;  
            }    
        </script>       
</head>
<body class="mian_bj" onload="startTime()">
	<div class="mian_top_01">
	<div class="mian_top_r">
	</div>
	<div class="mian_top_l">
	</div>
	<div class="mian_top_c">
	<ul>
	<li><a href="demo/deposit.jsp">
	<p>用户存款</p>
	</a></li>
	<li><a href="demo/withdraw.jsp">
	<p>用户取款</p>
	</a>
	</li>
	<li><a href="demo/transfer.jsp">
	<p>用户转账</p>
	</a></li>
	<li><a href="demo/transaction.jsp">
	<p>交易记录</p>
	</a></li>
	<li><a href="demo/balance.jsp">
	<p>余额查询</p>
	</a></li>
	</ul>
	</div>
	<div class="mian_b">
	<div class="mian_b1" style="text-align:center;">
	 
		<span style="line-height:55px;"><font size=5><b>余额查询</b></font></span>
	</div>
	
	<form action="balance"  name="form4">
	<div class="mian_b1" >
	 	<table>
	 	<td >&nbsp;&nbsp;&nbsp;<span style="line-height:50px;"><b>余额为:</b></span></td>
	 	<td>
		<p class="mian_b1_sousuo">
		<input name="text" type="text" value="${balance}" disabled></p>
		</td>
		<td>元人民币</td>
		<td>
		<!--<input type="image" src="images/bnt_03.gif" onclick="form4.submit"/>-->
		<input type="submit" value="查询" class="balanceButton">
		</td>
		</table>
	</div>
	</form>
	</div>
	</div>
</body>
</html>


